From: Lars Ingebrigtsen Date: Sun, 23 Jan 2022 12:54:16 +0000 (+0100) Subject: Make occur edit mode more resilient X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~3280 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1bcbca3750d9e8c47bee7ac893b885ade584d783;p=emacs.git Make occur edit mode more resilient * lisp/replace.el (occur-engine): Make the prefix read-only so that it's preserved in edit mode (bug#53419). --- diff --git a/lisp/replace.el b/lisp/replace.el index 60e507c6429..dd6e5a42258 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -2086,6 +2086,7 @@ See also `multi-occur'." ;; (for Occur Edit mode). front-sticky t rear-nonsticky t + read-only t occur-target ,markers follow-link t help-echo "mouse-2: go to this occurrence"))))